home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / trchange.man < prev    next >
Encoding:
Text File  |  1990-07-12  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. TRCHANGES                 User Commands                 TRCHANGES
  5.  
  6.  
  7.  
  8. CCOOMMMMAANNDD LLIINNEE AARRGGUUMMEENNTTSS
  9.      The argument --PP_x_x_x loads parameters and character defini-
  10.      tions for typesetter _x_x_x, which at the moment is typically
  11.      one of _p_s_c (PostScript), _i_p (imagen), _v_a (varian), _v_p (ver-
  12.      satec) or _t_e_r (terminal or printer).
  13.  
  14.      --FF_y_y_y causes font information to be loaded from directory
  15.      _y_y_y instead of the default //sspprriittee//lliibb//ddiittrrooffff//ddeevv_x_x_x.
  16.  
  17. GGRRAAPPHHIICCSS CCOOMMMMAANNDDSS
  18.      The most significant new facility is the ability to draw
  19.      simple graphical objects - diagonal lines, circles,
  20.      ellipses, arcs, splines, and filled polygons - in TROFF .
  21.  
  22.      The new graphical commands are
  23.  
  24.      \D'l _d_h _d_v'
  25.                draw line from current position by _d_h, _d_v
  26.      \D'c _d'
  27.                draw circle of diameter _d with left side at current position
  28.      \D'e _d_1 _d_2'
  29.                draw ellipse of diameters _d_1 _d_2
  30.      \D'a _d_h_1 _d_v_1 _d_h_2 _d_v_2'
  31.                draw arc counter-clockwise from current position to _d_h_1+_d_h_2
  32.                _d_v_1+_d_v_2, with center at _d_h_1 _d_v_1 from current position
  33.      \D'~ _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
  34.                draw B-spline from current position by _d_h_1 _d_v_1
  35.                then by _d_h_2, _d_v_2, then by _d_h_3, _d_v_3, then ...
  36.      \D'g _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
  37.                same as \D'~ _d_h_1 ...' except the gremlin spline
  38.                algorithm is used.
  39.      \D'p _n _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
  40.                draw polygon using stipple _n from current stipple font
  41.                starting at current position by _d_h_1 _d_v_1 then by _d_h_2, _d_v_2,
  42.                then by _d_h_3, _d_v_3, then ...
  43.      \D'P _n _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
  44.                same as \D'p _n _d_h_1 ...' except no border is printed.
  45.      \D't _d'
  46.                set line thickness to _d (set to 3 units at startup).
  47.                The default units are ems, so _d must be given in _u
  48.                units if a number of pixels is needed.
  49.      \D's _d'
  50.                set line style to _d (set to -1 at startup).  The value is
  51.                taken as a coordinate mask on the individual bits of the line.
  52.                The default units are ems, so _d must be given in _u units.
  53.  
  54.      The position after a graphical object has been drawn is at
  55.      its ``end'', where for circles and ellipses, the end is at
  56.      the right side.  As with other commands, default units are
  57.      ems horizontally and line spaces vertically.
  58.  
  59.      Realistically, these commands are not intended for direct
  60.  
  61.  
  62.  
  63. Sprite v1.0                                                     1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TRCHANGES                 User Commands                 TRCHANGES
  71.  
  72.  
  73.  
  74.      use, but for preprocessors like PIC, IDEAL, and GRN.
  75.  
  76. OOtthheerr nneeww ccoommmmaannddss
  77.      ..ssyy _c_o_m_m_a_n_d_l_i_n_e executes the command, then returns.  Output
  78.      is not captured anyplace.
  79.  
  80.      ..ccff _f_i_l_e copies _f_i_l_e into the TROFF output file at this
  81.      point, uninterpreted.  Havoc ensues unless the motions in
  82.      the file restore current horizontal and vertical position.
  83.      This command hasn't been used much, and is probably a bad
  84.      idea anyway.
  85.  
  86.      ..ppii _p_r_o_g_r_a_m (pipe the output into _p_r_o_g_r_a_m) now works in
  87.      TROFF as well as NROFF, since it makes somewhat more sense
  88.      to allow it.
  89.  
  90.      ..sstt _s_t_i_p_p_l_e__f_o_n_t loads _s_t_i_p_p_l_e__f_o_n_t as the current font used
  91.      to fill polygons, with each polygon command selecting one
  92.      pattern number from the font.  The available stipple fonts
  93.      are listed in the "font" manual page.
  94.  
  95.      The number register $$$$ contains the process id of the TROFF
  96.      process.
  97.  
  98.      The string ..TT contains the name of the current typesetter
  99.      (e.g., _p_s_c, _v_a, _v_p, _i_p).
  100.  
  101.      The ..fftt command causes the named font to be loaded on font
  102.      position 0 (which is in all other ways inaccessible) if the
  103.      font exists and is not currently mounted by default or by a
  104.      ..ffpp command.  The font must be still or again in position 0
  105.      when the line is printed.
  106.  
  107.      Transparent mode (\!) has been fixed so that transparent
  108.      output actually appears in the output; thus special commands
  109.      can be passed through to postprocessors by witchcraft like
  110.  
  111.      .if "\*(.T"psc" \!x ...
  112.  
  113.      (If this makes no sense to you, you shouldn't be using it
  114.      anyway.)
  115.  
  116. DDeelleettiioonnss
  117.      The ..ffzz and ..llii commands are no more.  The --pp, --gg and ++nn
  118.      command line arguments have also been eliminated, as has the
  119.      hhpp number register.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0                                                     2
  130.  
  131.  
  132.  
  133.